﻿namespace LeadThing.AbpZeroTemplate.Authorization
{
    /// <summary>
    /// Defines string constants for application's permission names.
    /// <see cref="AppAuthorizationProvider"/> for permission definitions.
    /// </summary>
    public static class AppPermissions
    {
        //COMMON PERMISSIONS (FOR BOTH OF TENANTS AND HOST)

        public const string Pages = "Pages";
        
        public const string Pages_Administration = "Pages.Administration";

        public const string Pages_Administration_Roles = "Pages.Administration.Roles";
        public const string Pages_Administration_Roles_Create = "Pages.Administration.Roles.Create";
        public const string Pages_Administration_Roles_Edit = "Pages.Administration.Roles.Edit";
        public const string Pages_Administration_Roles_Delete = "Pages.Administration.Roles.Delete";

        //public const string Pages_Administration_Users = "Pages.Administration.Users";
        //public const string Pages_Administration_Users_Create = "Pages.Administration.Users.Create";
        //public const string Pages_Administration_Users_Edit = "Pages.Administration.Users.Edit";
        //public const string Pages_Administration_Users_Delete = "Pages.Administration.Users.Delete";
        //public const string Pages_Administration_Users_ChangePermissions = "Pages.Administration.Users.ChangePermissions";
        //public const string Pages_Administration_Users_Impersonation = "Pages.Administration.Users.Impersonation";

        public const string Pages_Administration_Languages = "Pages.Administration.Languages";
        public const string Pages_Administration_Languages_Create = "Pages.Administration.Languages.Create";
        public const string Pages_Administration_Languages_Edit = "Pages.Administration.Languages.Edit";
        public const string Pages_Administration_Languages_Delete = "Pages.Administration.Languages.Delete";
        public const string Pages_Administration_Languages_ChangeTexts = "Pages.Administration.Languages.ChangeTexts";

        public const string Pages_Administration_AuditLogs = "Pages.Administration.AuditLogs";

        public const string Pages_Administration_OrganizationUnits = "Pages.Administration.OrganizationUnits";
        public const string Pages_Administration_OrganizationUnits_ManageOrganizationTree = "Pages.Administration.OrganizationUnits.ManageOrganizationTree";
        public const string Pages_Administration_OrganizationUnits_ManageMembers = "Pages.Administration.OrganizationUnits.ManageMembers";

        public const string Pages_Administration_HangfireDashboard = "Pages.Administration.HangfireDashboard";

        //TENANT-SPECIFIC PERMISSIONS

        public const string Pages_Tenant_Dashboard = "Pages.Tenant.Dashboard";

        public const string Pages_Administration_Tenant_Settings = "Pages.Administration.Tenant.Settings";
        
        //HOST-SPECIFIC PERMISSIONS

        public const string Pages_Editions = "Pages.Editions";
        public const string Pages_Editions_Create = "Pages.Editions.Create";
        public const string Pages_Editions_Edit = "Pages.Editions.Edit";
        public const string Pages_Editions_Delete = "Pages.Editions.Delete";

        public const string Pages_Tenants = "Pages.Tenants";
        public const string Pages_Tenants_Create = "Pages.Tenants.Create";
        public const string Pages_Tenants_Edit = "Pages.Tenants.Edit";
        public const string Pages_Tenants_ChangeFeatures = "Pages.Tenants.ChangeFeatures";
        public const string Pages_Tenants_Delete = "Pages.Tenants.Delete";
        public const string Pages_Tenants_Impersonation = "Pages.Tenants.Impersonation";

        public const string Pages_Administration_Host_Maintenance = "Pages.Administration.Host.Maintenance";
        public const string Pages_Administration_Host_Settings = "Pages.Administration.Host.Settings";

        //网格管理
        public const string Pages_GridManage = "Pages_GridManage";

        //网格管理基本信息
        public const string Pages_GridData = "Pages_GridData";

        //网格矛盾纠纷信息
        public const string Pages_DisputeData = "Pages_DisputeData";

        //矛盾纠纷案例
        public const string Pages_CaseCategory = "Pages_CaseCategory";

        //工作流
        public const string Pages_WorkFlow = "Pages_WorkFlow";

        //社会稳定风险评估
        public const string Pages_RiskAssessment = "Pages_RiskAssessment";

        //雪亮工程
        public const string Pages_XueLiangGongCheng = "Pages_XueLiangGongCheng";

        //法律法规
        public const string Pages_LawsRegulations = "Pages_LawsRegulations";

        //消息通知
        public const string Pages_NotificationManage = "Pages_NotificationManage";

        //文章管理
        public const string Pages_ArticleManage = "Pages_ArticleManage";

        //APP版本号管理
        public const string Pages_VersionAppManage = "Pages_VersionAppManage";

        //指挥调度管理
        public const string Pages_CommandDispatchManage = "Pages_CommandDispatchManage";

        //视频管理
        public const string Pages_CameraManageManage = "Pages_CameraManageManage";

        //视频会议管理
        public const string Pages_UserMeetingRefManage = "Pages_UserMeetingRefManage";

        //消防工作管理
        public const string Pages_FireFightingWorkManage = "Pages_FireFightingWorkManage";


    }
}